package com.example.mybatis.utils;
import lombok.Data;


@Data

public class Page {
    Integer current;//当前页数
    Integer size;//每页显示条数
    Integer start;//开始位置

    public Page(Integer current, Integer size) {
        this.current = current;
        this.size = size;
        this.start=(current-1)* size;
    }



}